package data;

public class GridSampleFactory extends DataFactory
{
	public GridSampleFactory( Database db )
	{
		super( "GridSamples", "gridsamples_id_seq",  db );
	}
	
	protected DataElement instantiate()
	{
		return new GridSample( this );
	}
	
	
	
	// typed convenience functions
	public GridSample findOne( String conditions )
	{
		return (GridSample) _findOne( conditions );
	}
	public GridSample create()
	{
		return (GridSample) _create();
	}
	public GridSample lookup( int id )
	{
		return (GridSample) _lookup( id );
	}
}
